﻿#pragma once
#include "PropertyEditEntry.h"

class ObjectPropertyEditEntry : public PropertyEditEntry {
    Q_OBJECT
    struct ObjectEditorEntryPrivate;
    QScopedPointer<ObjectEditorEntryPrivate> p;
public:
    explicit ObjectPropertyEditEntry(QWidget *parent = nullptr);
    ObjectPropertyEditEntry(void *object, QWidget *parent = nullptr);

public:
    void setObject(void *object) override;

protected:
    void Tick();
};
